<?php
namespace app\index\controller;
use think\Db;
class Channel extends Base
{

    public function index()
    {
    	$data=Db::name('channel')->select();
    	echo json_encode($data);
    }
}
